﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace BaiTu.Framework.Exceptions
{
    /// <summary>
    /// 程序遇到致命错误    会影响程序的稳定性
    /// </summary>
    public class BaiTuFatalException : Exception
    {
        public BaiTuFatalException() { }

        public BaiTuFatalException(string message) : base(message) { }

        public BaiTuFatalException(string messageFormat, params object[] args)
            : base(string.Format(messageFormat, args))
        { }
        public BaiTuFatalException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        { }

        public BaiTuFatalException(string message, Exception ex)
            : base(message, ex)
        { }
    }
}
